package com.hzjy.api.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author 登录用户,小程序或网页登录
 */
public class BqUser {
    /** 用户ID*/
    private Long userId;
    /** 用户名*/
    private String userName;
    /** 密码*/
    private String passWord;
    /** 用户类型 0:个人用户 1:企业用户*/
    private Integer type;
    /** 用户状态 0:正常 1: 封禁*/
    private Integer state;
    /** 用户昵称*/
    private String nickName;
    /** 真实姓名*/
    private String fullName;
    /** 企业名称*/
    private String enterpriseName;
    /** 邮箱*/
    private String email;
    /** 性别 0：未知,1:男，2:女*/
    private Integer sex;
    /** 手机号*/
    private String phone;
    /** 微信绑定状态 0：未绑定 1：已绑定*/
    private Integer wechatState;
    /** 微信openid*/
    private String openId;
    /** 备注*/
    private String remark;
    /** 头像地址*/
    private String avatar;

    /**
     * 身份证
     */
    private String cardNum;

    /**
     * 微信号
     */
    private String wxNum;
    /**
     * 支付宝账号
     */
    private String alipayNum;

    /**
     *开户行
     */
    private String bankName;

    /**
     * 银行卡号
     */
    private String bankNum;
    //企业信用代码
    private String creditCode;

    //2 未实名认证，3已实名认证
    private Integer realNameCertification;

    //E签宝实名认证时的流程ID
    private String flowId;

    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createDate;

    public Long getUserId() {
        return userId;
    }

    public String getWxNum() {
        return wxNum;
    }

    public void setWxNum(String wxNum) {
        this.wxNum = wxNum;
    }

    public String getAlipayNum() {
        return alipayNum;
    }

    public void setAlipayNum(String alipayNum) {
        this.alipayNum = alipayNum;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankNum() {
        return bankNum;
    }

    public void setBankNum(String bankNum) {
        this.bankNum = bankNum;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getWechatState() {
        return wechatState;
    }

    public void setWechatState(Integer wechatState) {
        this.wechatState = wechatState;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public String getCreditCode() {
        return creditCode;
    }

    public void setCreditCode(String creditCode) {
        this.creditCode = creditCode;
    }

    public Integer getRealNameCertification() {
        return realNameCertification;
    }

    public void setRealNameCertification(Integer realNameCertification) {
        this.realNameCertification = realNameCertification;
    }

    public String getFlowId() {
        return flowId;
    }

    public void setFlowId(String flowId) {
        this.flowId = flowId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "BqUser{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", passWord='" + passWord + '\'' +
                ", type=" + type +
                ", state=" + state +
                ", nickName='" + nickName + '\'' +
                ", fullName='" + fullName + '\'' +
                ", enterpriseName='" + enterpriseName + '\'' +
                ", email='" + email + '\'' +
                ", sex=" + sex +
                ", phone='" + phone + '\'' +
                ", wechatState=" + wechatState +
                ", openId='" + openId + '\'' +
                ", remark='" + remark + '\'' +
                ", avatar='" + avatar + '\'' +
                ", cardNum='" + cardNum + '\'' +
                ", wxNum='" + wxNum + '\'' +
                ", alipayNum='" + alipayNum + '\'' +
                ", bankName='" + bankName + '\'' +
                ", bankNum='" + bankNum + '\'' +
                ", creditCode='" + creditCode + '\'' +
                ", realNameCertification=" + realNameCertification +
                ", flowId='" + flowId + '\'' +
                '}';
    }
}
